<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <title>The Disdainful Bean</title>
</head>
<body>
<h1>Queue Test</h1>
Queue of user ${user.firstName } ${user.lastName }, userid: ${user.userID }: <br/>
<c:forEach items="${q1}" var="row">
	${row.title}, ${row.genre}, ${row.rating}, ${row.year} <br/>
</c:forEach>
<br/>
Queue after removing movie ${movie.title }: <br/>
<c:forEach items="${q2}" var="row">
	${row.title}, ${row.genre}, ${row.rating}, ${row.year} <br/>
</c:forEach>
<br/>
Queue after adding ${movie.title } back in: <br/>
<c:forEach items="${q3}" var="row">
	${row.title}, ${row.genre}, ${row.rating}, ${row.year} <br/>
</c:forEach>
<br/>
Search results for "sandler": <br/>
<c:forEach items="${searchresults}" var="row">
	${row.title}, ${row.genre}, ${row.rating}, ${row.year} <br/>
</c:forEach>
<br/>
size: ${size}
</body>
</html>